package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 流程按钮对象 sys_button
 *
 * @author ruoyi
 * @date 2023-03-14
 */
public class SysButton extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 显示标签 */
    @Excel(name = "显示标签")
    private String label;

    /** 按钮标识 */
    @Excel(name = "按钮标识")
    private String code;

    /** 按钮图标 */
    @Excel(name = "按钮图标")
    private String icon;

    /** 按钮类型 */
    @Excel(name = "按钮类型")
    private String type;

    /** 按钮尺寸 */
    @Excel(name = "按钮尺寸")
    private String size;

    /** 按钮事件 */
    @Excel(name = "按钮事件")
    private String click;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setLabel(String label)
    {
        this.label = label;
    }

    public String getLabel()
    {
        return label;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setIcon(String icon)
    {
        this.icon = icon;
    }

    public String getIcon()
    {
        return icon;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setSize(String size)
    {
        this.size = size;
    }

    public String getSize()
    {
        return size;
    }
    public void setClick(String click)
    {
        this.click = click;
    }

    public String getClick()
    {
        return click;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("label", getLabel())
            .append("code", getCode())
            .append("icon", getIcon())
            .append("type", getType())
            .append("size", getSize())
            .append("click", getClick())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
